<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>DSP: DSP::FFT Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">DSP
   &#160;<span id="projectnumber">1.1.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>DSP</b>      </li>
      <li class="navelem"><a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">DSP::FFT Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="DSP::FFT" -->
<p><a href="class_d_s_p_1_1_f_f_t-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_s_p_1_1_f_f_t.html#a81214624b6c36f8472c641c127951142">FFT</a> (const long length, QObject *parent=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a81214624b6c36f8472c641c127951142"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_s_p_1_1_f_f_t.html#a7cb39cb5e4e95c0e8207deac95eb190c">FFT</a> (const long width, const long height, QObject *parent=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a7cb39cb5e4e95c0e8207deac95eb190c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39d9f1381e21427118cc1d4f5647674b"></a><!-- doxytag: member="DSP::FFT::~FFT" ref="a39d9f1381e21427118cc1d4f5647674b" args="()" -->
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_s_p_1_1_f_f_t.html#a39d9f1381e21427118cc1d4f5647674b">~FFT</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_s_p_1_1_f_f_t.html#af86f47bb474c48bc474c3334ad450666">compute</a> (const float source[], float result[])</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the 1D <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>.  <a href="#af86f47bb474c48bc474c3334ad450666"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_s_p_1_1_f_f_t.html#a79cdc6dd2155ab74711fd477c44393b7">inverse</a> (const float source[], float result[])</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the inverse 1D <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>.  <a href="#a79cdc6dd2155ab74711fd477c44393b7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_s_p_1_1_f_f_t.html#a6b6b5cc8ea2b28f338b76c0681f826b2">rescale</a> (float source[]) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Rescale values after forward <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>.  <a href="#a6b6b5cc8ea2b28f338b76c0681f826b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_s_p_1_1_f_f_t.html#a7ca92f0146f7190f96d666aa439bc354">compute2d</a> (const float source[], float result[])</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the 2D <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>.  <a href="#a7ca92f0146f7190f96d666aa439bc354"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_s_p_1_1_f_f_t.html#ab082547f7b5b7b8980cd47025017b2ec">inverse2d</a> (const float source[], float result[])</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the inverse 2D <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>.  <a href="#ab082547f7b5b7b8980cd47025017b2ec"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">FFTPrivate *const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_s_p_1_1_f_f_t.html#a319ca2e4ff5fb976ff5efe7b172c77f9">d_ptr</a></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a81214624b6c36f8472c641c127951142"></a><!-- doxytag: member="DSP::FFT::FFT" ref="a81214624b6c36f8472c641c127951142" args="(const long length, QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_d_s_p_1_1_f_f_t.html#a81214624b6c36f8472c641c127951142">DSP::FFT::FFT</a> </td>
          <td>(</td>
          <td class="paramtype">const long&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">length</td><td></td></tr>
    <tr><td class="paramname">parent</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7cb39cb5e4e95c0e8207deac95eb190c"></a><!-- doxytag: member="DSP::FFT::FFT" ref="a7cb39cb5e4e95c0e8207deac95eb190c" args="(const long width, const long height, QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_d_s_p_1_1_f_f_t.html#a81214624b6c36f8472c641c127951142">DSP::FFT::FFT</a> </td>
          <td>(</td>
          <td class="paramtype">const long&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const long&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td></td></tr>
    <tr><td class="paramname">height</td><td></td></tr>
    <tr><td class="paramname">parent</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af86f47bb474c48bc474c3334ad450666"></a><!-- doxytag: member="DSP::FFT::compute" ref="af86f47bb474c48bc474c3334ad450666" args="(const float source[], float result[])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_d_s_p_1_1_f_f_t.html#af86f47bb474c48bc474c3334ad450666">DSP::FFT::compute</a> </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>source</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>result</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the 1D <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td></td></tr>
    <tr><td class="paramname">result</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7ca92f0146f7190f96d666aa439bc354"></a><!-- doxytag: member="DSP::FFT::compute2d" ref="a7ca92f0146f7190f96d666aa439bc354" args="(const float source[], float result[])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_d_s_p_1_1_f_f_t.html#a7ca92f0146f7190f96d666aa439bc354">DSP::FFT::compute2d</a> </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>source</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>result</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the 2D <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td></td></tr>
    <tr><td class="paramname">result</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a79cdc6dd2155ab74711fd477c44393b7"></a><!-- doxytag: member="DSP::FFT::inverse" ref="a79cdc6dd2155ab74711fd477c44393b7" args="(const float source[], float result[])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_d_s_p_1_1_f_f_t.html#a79cdc6dd2155ab74711fd477c44393b7">DSP::FFT::inverse</a> </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>source</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>result</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the inverse 1D <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td></td></tr>
    <tr><td class="paramname">result</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab082547f7b5b7b8980cd47025017b2ec"></a><!-- doxytag: member="DSP::FFT::inverse2d" ref="ab082547f7b5b7b8980cd47025017b2ec" args="(const float source[], float result[])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_d_s_p_1_1_f_f_t.html#ab082547f7b5b7b8980cd47025017b2ec">DSP::FFT::inverse2d</a> </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>source</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>result</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the inverse 2D <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td></td></tr>
    <tr><td class="paramname">result</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6b6b5cc8ea2b28f338b76c0681f826b2"></a><!-- doxytag: member="DSP::FFT::rescale" ref="a6b6b5cc8ea2b28f338b76c0681f826b2" args="(float source[]) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_d_s_p_1_1_f_f_t.html#a6b6b5cc8ea2b28f338b76c0681f826b2">DSP::FFT::rescale</a> </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>source</em>[]</td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rescale values after forward <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td></td></tr>
    <tr><td class="paramname">result</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a319ca2e4ff5fb976ff5efe7b172c77f9"></a><!-- doxytag: member="DSP::FFT::d_ptr" ref="a319ca2e4ff5fb976ff5efe7b172c77f9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FFTPrivate* const <a class="el" href="class_d_s_p_1_1_f_f_t.html#a319ca2e4ff5fb976ff5efe7b172c77f9">DSP::FFT::d_ptr</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Private implementation of the <a class="el" href="class_d_s_p_1_1_f_f_t.html">FFT</a> </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_d_s_p_8h_source.html">DSP.h</a></li>
<li>DSP.cpp</li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 11 2012 15:36:43 for DSP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
